package com.bjgzy.courselive.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.bjgzy.courselive.di.module.CourseLiveCommentModule;
import com.bjgzy.courselive.mvp.contract.CourseLiveCommentContract;
import com.jess.arms.di.scope.ActivityScope;
import com.bjgzy.courselive.mvp.ui.activity.CourseLiveCommentActivity;

/**
 * @author xubo
 * @date 2018-8-2 11:43:11
 */
@ActivityScope
@Component(modules = CourseLiveCommentModule.class, dependencies = AppComponent.class)
public interface CourseLiveCommentComponent {
    void inject(CourseLiveCommentActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        CourseLiveCommentComponent.Builder view(CourseLiveCommentContract.View view);

        CourseLiveCommentComponent.Builder appComponent(AppComponent appComponent);

        CourseLiveCommentComponent build();
    }


}